<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<link href="<?php echo CSS_PATH;?>te/css/style.css" type="text/css" rel="stylesheet" />

    
   <div class="main">
        
        
        <!--list--->
        <div class="lists news_main"><!--news_main-->
            <div class="list_left">

<script src="<?php echo JS_PATH;?>te/js/center.js" type="text/javascript">
</script>
            	<div class="news_list">
                	<div class="links_title">
                		<h6>公司新闻</h6>
                    </div>
                    <div class="newslist_con">
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=1e70b105eea3a55860bb4130638302a7&action=category&catid=1&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'1','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?> 
           	<?php $ii++?>
                        <div class="mainProNav"><!--继承index的product list-->
                            <span><a <?php if($ii == 1 ) { ?> class="listson" <?php } ?> class=""  href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></span>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=205bc5030f4bab57875d53a55cc0e774&action=lists&catid=%24r%5Bcatid%5D&num=12&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>$r[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'12',));}?>
			<?php if(!empty($data)) { ?>
						<div class="nav001">
                            <ul class="navM1"> 
			<?php $n=1;if(is_array($data)) foreach($data AS $p) { ?>
                            	<li><a <?php if($nowsid == $r[catid] ) { ?> class="oncate" <?php } ?> href="<?php echo $p['url'];?>"><?php echo $p['title'];?></a></li>
			<?php $n++;}unset($n); ?>
                            </ul>
                         </div>
			<?php } ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                        </div>
           <?php $n++;}unset($n); ?>
		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    </div>
                </div><!--news_list-->
                <div class="searchlist">
                    <input type="text"  class="textlist"/>
                    <input type="submit" class="submitlist" value="" />
                </div>
                <div class="procate">
                	<h6>产品中心</h6>
                </div>
                <div class="pro_list">
				
    <?php $nowsid=$catid?>
		   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=27c8fba85a2bfc8a50b96ea6dd0e65e2&action=category&catid=2&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'2','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>

           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
           
           	<?php $ii++?>
                	<div class="mainProNav">
                        <span><a <?php if($ii == 1 ) { ?> class="listson" <?php } ?>  href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></span>
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=205bc5030f4bab57875d53a55cc0e774&action=lists&catid=%24r%5Bcatid%5D&num=12&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>$r[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'12',));}?>
			<?php if(!empty($data)) { ?>
                    <div class="nav001">
                            <ul class="navM1">
			<?php $n=1;if(is_array($data)) foreach($data AS $p) { ?>
                            	<li><a <?php if($nowsid == $r[catid] ) { ?> class="oncate" <?php } ?> href="<?php echo $p['url'];?>"><?php echo $p['title'];?></a></li>
			<?php $n++;}unset($n); ?>
                            </ul>
                         </div>
			<?php } ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                     </div>
           <?php $n++;}unset($n); ?>
		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                     
                </div>
            </div>
            
            <div class="list_right">
            	
                <div class="news_center">
                	<div class="news_title">
                    	<h6>公司介绍</h6>
                        <h5>当前位置：<a href="<?php echo siteurl($siteid);?>"> 首页</a> >  <?php echo catpos($catid);?>  <?php echo $title;?> </h5>
                    </div>
                    <div class="news">
                    	<ul>
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7ccc89b773160e1dc0e1aaca7d385b4c&action=lists&catid=%24catid&num=24&siteid=%24siteid&order=listorder+ASC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 24;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>$catid,'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>$catid,'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                        	<li><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?></a><span>(<?php echo date("m-d H:i",$r['updatetime']) ?>)</span></li>
            <?php $n++;}unset($n); ?>
                        </ul>
                    </div>
                    <div class="page">
                    	<ul>
                        	<li><?php echo $pages;?></li>
                        </ul>
                    </div>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>   
                </div>
                
                
                
                
            </div><!--right lists end-->
            <div class="clear"></div>
        </div><!-- lists end-->
        
        
        
        
        
    </div><!-- main end-->
<!--  验证表单-->  
<script src="<?php echo JS_PATH;?>te/js/registinput.js" type="text/javascript">
</script> 
    
    
    
    
    
    
    

<?php include template("content","footer"); ?>    